package com.peas.platform.module.icims.budget.apply.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("二上预算附件")
public class BudgetTwoFileVo extends BaseVo {

    //（二上预算表）外键
    @ApiModelProperty(value = "二上预算表ID")
    private Long budgetTwoId;

    @ApiModelProperty(value = "附件类型")
    @Size(max = 20, message = "附件类型不能超过20个字符")
    private String fileType;

    //（附件表）外键
    @ApiModelProperty(value = "附件ID")
    private Long attachmentId;

    @ApiModelProperty(value = "附件名称")
    @Size(max = 200, message = "附件名称不能超过200个字符")
    private String attachmentName;

}
